/**
 * Created by feifan.gou@gamil.com on 2025/4/23 17:53.
 */
import {defineStore} from "pinia";

export const useRouterParam = defineStore('router-param', {
    state: () => ({
        reservationResult: {
            visitor: '',
            date: '',
            reserved: true
        }
    }),
    actions: {
        setReservationResult(value) {
            this.reservationResult = value;
        }
    },
})